<div class="comment-item">
  <span class="comment-item__avatar">
    <img src="/upload/<%= comment.author.avatar %>" />
  </span>
  <div class="comment-item__content">
    <a class="author" href="/user/<%= comment.author._id %>"><%= comment.author.username %></a>
    <div class="comment-item__metadata">
      <span class="date"><%= comment.created %></span>
    </div>
    <div class="comment-item__text"><%- comment.content %></div>

    <% if (authUser && comment.author._id && authUser._id.toString() ===
    comment.author._id.toString()) { %>
    <div class="comment-item__actions">
      <a href="/comment/<%= comment._id %>/remove">删除</a>
    </div>
    <% } %>
  </div>
</div>
